Authentication Status
object AuthenticationStatus
Entry point for inspecting the authentication state of a Messenger deployment.
Use shouldAuthorize before starting an authenticated chat to decide whether the host application needs to drive the OpenID authorization flow (for example, presenting a web-based login) or whether a previously stored authentication is still valid and the chat can be started immediately.